function TextLayout(model){
    this._model = model;
    this._tabStop = 4;
    this._wrapStop = 80;
    this._wordWrap = false;
    this._stopWidth = 8;
    this._stopHeight = 16;
    this._stopTrackers = [];
}

TextLayout.prototype = {
    getModel: function (){
        return this._model;
    },
    setTabStop: function (stop){
        this._tabStop = stop;
    },
    setWrapStop: function (stop){
        this._wrapStop = stop;
    },
    setWordWrap: function (wrap){
        this._wordWrap = wrap;
    },
    setStopWidth: function (width){
        this._stopWidth = width;
    },
    setStopHeight: function (height){
        this._stopHeight = height;
    },
    getWidth: function (){

    },
    getHeight: function (){
        return this._stopTrackers.length * this._stopHeight;
    },
    getLineIndex: function (){

    },
    getLineOffset: function (){

    },
    getLineHeight: function (index){
        return this._stopHeight;
    },
    getLineLength: function (index){

    },
    getOffset: function (){

    },
    getPoint: function (offset){
        
    },
    _onModelChanging: function (){
        
    }
};